export default {
  namespaced: true,
  state: {
    aliveKeys: []
  },
  mutations: {
    UPDATE (state, pages) {
      let aliveKeys = pages.map(page => {
        return page.meta.aliveKey
      })
      state.aliveKeys = aliveKeys
    }
  }
}
